package com.bbcare.department.plat.store.ibatis;

import java.util.List;

import com.bbcare.department.plat.entity.Register;

public interface IRegisterDao {
	/**
	 * 通过ID查询挂号信息
	 * @param id
	 * @return
	 */
	public Register selectById(String id) throws Exception;
	
	/**
	 * 通过科室ID查询所有挂号
	 * @param id
	 * @return
	 */
	public List<Register> selectByDepId(String deptId) throws Exception;
	
	
	/**
	 * 通过ID删除挂号信息
	 * @param id
	 * @return
	 */
	public int deleteyIds(List<String> ids) throws Exception;
	
	
	/**
	 * 更新挂号信息
	 * @param account
	 * @return
	 */
	public int update(Register register) throws Exception;
	

	/**
	 * 新建挂号信息
	 * @param account
	 * @return
	 */
	public int save(List<Register> register) throws Exception;
}
